package com.wnx.job.modules.rms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王乃醒是大帅哥
 * @since 2021-10-28
 */
@Data
public class CertificateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @ApiModelProperty(value = "自增主键")
    private Long id;

    /**
     * 证书名称
     */
    @ApiModelProperty(value = "证书名称")
    @NotBlank(message = "证书名称不能为空")
    private String name;

    /**
     * 获得时间
     */
    @ApiModelProperty(value = "获得时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @NotNull(message = "证书获取时间不能为空")
    private Date createTime;

    /**
     * 简历ID
     */
    @ApiModelProperty(value = "简历ID")
    private Long resumeId;


}
